package com.wwj.tem.mapper;

import com.wwj.tem.model.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Home
* @description 针对表【sys_role】的数据库操作Mapper
* @createDate 2024-07-28 17:27:18
* @Entity com.wwj.tem.model.entity.SysRole
*/
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {
	
	// 根据roleId查询角色权限
	List<String> selectPermissionByRoleId(Long roleId);
	
	List<String> selectRoleCodesByIds(List<Long> roleIds);
}




